package com.springmvc.crud.handler.formatType.test;

import com.springmvc.crud.dao.EmployeeDao;
import com.springmvc.crud.entity.Employee;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Created by BF100233 on 2016/9/26.
 */
//@Controller
//public class Springtest {
//
//    @Autowired
//    private EmployeeDao employeeDao;
//
//    @RequestMapping("testConversionServiveConverter")
//    public String testConverters(@RequestParam("Employee") Employee employee){
//        System.out.println("save:"+employee);
//        employeeDao.save(employee);
//        return "redirect:/emps";
//    }
//}
